#ifndef POWERUP_H
#define POWERUP_H

#include "ObjetX.h"

namespace PM3D
{
    class PowerUp : 
        public ObjetX
    {
    public:
        PowerUp(const std::wstring& nomFichier, Dispositif* d3dDevice,
            const float x, const float y, const float z);
        ~PowerUp();
        void anime(float);
        void draw();

        D3DXVECTOR3 getPosition() const
        {
            return position_;
        }

        void setVisible(bool visible)
        {
            visible_ = visible;
        }

    private:
        enum Type{NITRO};

        D3DXVECTOR3 position_;
        float angle_;
        bool visible_;
    };
}   // PM3D

#endif  // POWERUP_H
